<form class="layui-form modal-form-box" action="__SELF__" data-auto="true" method="post">

    <div class="layui-form-item">
        <label class="layui-form-label">快递单号</label>
        <div class="layui-input-block">
            <input type="text" name="coding" value="{$vo.coding}" placeholder="请输入快递单号" required title="请输入快递单号" class="layui-input"/>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">国家</label>
        <div class="layui-input-block">
            <input type="text" name="state" value="{$vo.state}" placeholder="请输入国家" required title="请输入国家" class="layui-input"/>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">价格</label>
        <div class="layui-input-block">
            <input type="text" name="price" value="{$vo.price}" placeholder="请输入价格" required title="请输入价格" class="layui-input"/>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">单号类别</label>
        <div class="layui-input-block">
            <input type="text" name="category" value="{$vo.category}" placeholder="请输入单号类别" required title="请输入单号类别" class="layui-input"/>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">单号来源</label>
        <div class="layui-input-block">
            {empty name='vo.id'}
            <input type="radio" name="coding_status" value="已上网" title="已上网" class="layui-input" checked/>
            <input type="radio" name="coding_status" value="未上网" title="未上网" class="layui-input"/>
            {else/}
            <input type="radio" name="coding_status" value="已上网" title="已上网" class="layui-input" {eq name='vo.coding_status' value='已上网'}checked{/eq}/>
                   <input type="radio" name="coding_status" value="未上网" title="未上网" class="layui-input" {eq name='vo.coding_status' value='未上网'}checked{/eq}/>
                   {/empty}
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">上网时间</label>
        <div class="layui-input-block">
            <input type="text" name="internet_time" value="{$vo.internet_time}" placeholder="请选择上网时间" required title="请选择上网时间" class="layui-input" id="time"/>
        </div>
    </div>

    <div class="layui-form-item text-center">
        <input type="hidden" name="id" value="{$vo.id|default=''}">
        <button class="layui-btn" type="submit">保存数据</button>
        <button class="layui-btn layui-btn-primary" type="button" data-close>取消编辑</button>
    </div>
</form>
<script>
    window.laydate.render({
        elem: '#time'
        , type: 'datetime'
    });
</script>